projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d695bd1
)
(sgml-validate): Quote the file name with shell-quote-argument.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 23 Feb 2007 19:27:46 +0000
(19:27 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 23 Feb 2007 19:27:46 +0000
(19:27 +0000)
lisp/textmodes/sgml-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/sgml-mode.el
b/lisp/textmodes/sgml-mode.el
index 6757eb9be1cff0d8d525112b7f96d3a0ba46d618..5e599ea10e6363719bd2fc4f586e0011eefa2795 100644
(file)
--- a/
lisp/textmodes/sgml-mode.el
+++ b/
lisp/textmodes/sgml-mode.el
@@
-920,9
+920,10
@@
and move to the line in the SGML document that caused it."
(or sgml-saved-validate-command
(concat sgml-validate-command
" "
- (let ((name (buffer-file-name)))
- (and name
- (file-name-nondirectory name))))))))
+ (shell-quote-argument
+ (let ((name (buffer-file-name)))
+ (and name
+ (file-name-nondirectory name)))))))))
(setq sgml-saved-validate-command command)
(save-some-buffers (not compilation-ask-about-save) nil)
(compilation-start command))